package com.sq.partner.manager.dao.impl;

import org.springframework.stereotype.Repository;

import com.sq.partner.manager.dao.ActirationCardActivatedDao;
import com.sq.partner.manager.mybatis.model.ActirationCardActivated;

/**
 * 激活卡卡单Dao实现
 * 
 * SQ
 *
 */
@Repository
public class ActirationCardActivatedDaoImpl extends BaseDaoImpl implements
        ActirationCardActivatedDao {

    /**
     * 取得激活卡产品信息
     * 
     * @param planNo
     * @return
     * @throws Exception
     */
    @Override
    public ActirationCardActivated getProdInfoByPlanNo(String planNo)
            throws Exception {
        ActirationCardActivated activated = (ActirationCardActivated) this
                .query("getProdInfoByPlanNo", planNo);
        return activated;
    }
}
